<ul class="profile-menu">
    <li <?php echo $selected == 1 ? 'class="selected"' : '' ?>>
        <?php if($sf_user->isAuthenticated() && $sf_user->getGuardUser()->getId() == $member_info[ 'sfGuardUserProfile' ][ 'User' ][ 'id' ]): ?>
            <?php echo link_to('Profil', '@member_myProfil'); ?>
        <?php else: ?>
            <?php echo link_to('Profil', '@member_profil?name_slug=' . $member_info[ 'slug' ]); ?>
        <?php endif; ?>
    </li>
    <li <?php echo $selected == 2 ? 'class="selected"' : '' ?>>
        <?php if($sf_user->isAuthenticated() && $sf_user->getGuardUser()->getId() == $member_info[ 'sfGuardUserProfile' ][ 'User' ][ 'id' ]): ?>
            <?php echo link_to('Matchs joués', '@member_myMatchList'); ?>
        <?php else: ?>
            <?php echo link_to('Matchs joués', '@member_matchList?name_slug=' . $member_info[ 'slug' ]); ?>
        <?php endif; ?>
    </li>
     <li <?php echo $selected == 3 ? 'class="selected"' : '' ?>>
        <?php if($sf_user->isAuthenticated() && $sf_user->getGuardUser()->getId() == $member_info[ 'sfGuardUserProfile' ][ 'User' ][ 'id' ]): ?>
            <?php echo link_to('Evolution', '@member_myEvolution'); ?>
        <?php else: ?>
            <?php echo link_to('Evolution', '@member_evolution?name_slug=' . $member_info[ 'slug' ]); ?>
        <?php endif; ?>
    </li>
    <!--<li><a href="#">Commentaires</a></li>-->
</ul>
<div class="push_float"></div>